[Manager Summary]

PMSetPhysicalPaperSize


Sets printing to a particular paper size, unaffected by rotation, resolution, or scaling.
OSStatus PMSetPhysicalPaperSize(PMPageFormat pageFormat, const PMRect paperSize)
PARAMETERS
pageFormat
The PMPageFormat which will hold the new physical paper size.
paperSize
The desired paper size expressed as a PMRect. (units are 1/72 inch. A PMRect is a rectangle whose individual components are doubles.)
function result
A result code. See Result Codes.
DISCUSSION
This routine allows applications who currently request a particular paper size to continue to do so. If the driver could not handle that particular size an error of kPMValueOutOfRange is returned. If the size was accepted then an application should still call PMGetPhysicalPaperSize to see how close the match was. (units are in 1/72 inch).

Last modified: 5/7/99. Status: Draft Copyright 1999 Apple Computer, Inc. All rights reserved.